﻿<%@ Page Language="C#" MasterPageFile="MasterPage.master" AutoEventWireup="true" CodeFile="GamesEdit.aspx.cs" Inherits="public_html_NewSite_CMSV2_GamesAdd" Title="Rediger Spil" ValidateRequest="false" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <h3>Rediger Spil: <asp:Label ID="lblTitel" runat="server"></asp:Label></h3>
    <cc1:TabContainer ID="TabContainer1" runat="server" Width="700px" 
        ActiveTabIndex="0">
        <cc1:TabPanel ID="TabBasis" runat="server" HeaderText="Basis info">
            <ContentTemplate>
                <table width="100%" border="0" cellspacing="5">
                    <tr>
                        <td>Spillets Titel</td><td>
                        <asp:TextBox ID="TxtTitel" runat="server" Width="300px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="TxtTitel" runat="server" 
                            ErrorMessage="*"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>Udvikler</td><td>
                        <asp:TextBox ID="TxtUdvikler" runat="server" Width="300px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>Udgiver</td><td>
                        <asp:TextBox ID="TxtUdgiver" runat="server" Width="300px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>Multiplayer</td><td>
                        <asp:TextBox ID="TxtMulti" runat="server" Width="300px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>Release Dato</td><td>
                        <asp:TextBox ID="TxtDato" runat="server" Width="300px"></asp:TextBox>
                        <cc1:CalendarExtender ID="CalendarExtender1" TargetControlID="TxtDato" runat="server" Format="yyyy-MM-dd"></cc1:CalendarExtender>
                        </td>
                    </tr>
                    <tr>
                        <td>SpilID</td><td>
                        <asp:TextBox ID="TxtID" Enabled="False" runat="server" Width="300px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>Genre</td>
                        <td><asp:DropDownList ID="ListGenre" runat="server"></asp:DropDownList></td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Button ID="BtmUpdate" runat="server" Text="Opdater Spillet" onclick="BtmUpdateGame_Click" />
                        </td>
                        <td></td>
                    </tr>
                </table>
            </ContentTemplate>
        </cc1:TabPanel>
        <cc1:TabPanel ID="TabRelease" runat="server" HeaderText="Opret til andre formater">
            <ContentTemplate>
                <table width="100%" border="0" cellspacing="5">
                    <tr>
                        <td>
                             <asp:CheckBoxList ID="ListFormat" runat="server">
                                <asp:ListItem Text="Xbox 360" Value="1"></asp:ListItem>
                                <asp:ListItem Text="Playstation 3" Value="3"></asp:ListItem>
                                <asp:ListItem Text="Nintendo Wii" Value="4"></asp:ListItem>
                                <asp:ListItem Text="PC" Value="2"></asp:ListItem>
                            </asp:CheckBoxList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Button Text="Opret til nye formater" ID="BtmNyt" OnClick="BtmSaveGame_Click" runat="server" />
                        </td>
                    </tr>
                </table>
            </ContentTemplate>
        </cc1:TabPanel>
        <cc1:TabPanel ID="TabScreens" runat="server" HeaderText="Screenshots">
            <ContentTemplate>
                <div runat="server" id="DivScreens">
                </div>
            </ContentTemplate>
        </cc1:TabPanel>
        <cc1:TabPanel ID="TabDelete" runat="server" HeaderText="Slet Spil">
            <ContentTemplate>
                <b>Bekræft at du vil slette spillet og alle relationer.</b>
                <br />
                <asp:Button ID="BtmSlet" runat="server" Text="Slet spillet" 
                    onclick="BtmSlet_Click" />
            </ContentTemplate>
        </cc1:TabPanel>
        <cc1:TabPanel ID="TabTopPic" runat="server" HeaderText="Top Billed">
            <ContentTemplate>
                <b>
                    Vælg Fil (Alle formater)
                </b>
                <br />
                <asp:FileUpload ID="FileUpTopBilled" runat="server" />(600x150) Mere kan ikke ses:)<br />
                <asp:CheckBox ID="chkLogoTitel" runat="server" Checked="true" />Spillets Titel står i billed? ellers vælg Tekst farve 
                <asp:DropDownList ID="ddlTextColor" runat="server">
                    <asp:ListItem Text="Sort" Value="#000000"></asp:ListItem>
                    <asp:ListItem Text="Hvid" Value="#FFFFFF"></asp:ListItem>
                </asp:DropDownList>
                <br />
                <br />
                <asp:Image ID="imgTopBilled" runat="server" />
                <br />
                <asp:Button ID="btmSaveInfoBilled" runat="server" Text="Upload Spil Topbilled" 
                    onclick="btmSaveInfoBilled_Click" />
            </ContentTemplate>
        </cc1:TabPanel>
        <cc1:TabPanel ID="TabTopVid" runat="server" HeaderText="Video">
            <ContentTemplate>
                <b>Overskrift</b><br />
                <asp:TextBox ID="txtVidOver" Width="350" runat="server"></asp:TextBox>
                <br /><br />
                <b>Link:</b><br />
                <asp:TextBox ID="txtVidLink" Width="350" runat="server"></asp:TextBox>
                <br /><br />
                <b>Tekst</b><br />
                <asp:TextBox ID="txtVidDesc" Width="350" Height="200" TextMode="MultiLine" runat="server"></asp:TextBox>
                <br /><br />
                <asp:Button ID="btmSaveVid" runat="server" OnClick="SaveVideo" Text="Gem Video" />
            </ContentTemplate>
        </cc1:TabPanel>
    </cc1:TabContainer>
    <div runat="server" style="padding:5px; border:1px solid #666666; margin-top:2px; width:690px;" id="DivAndreSpil"></div>
</asp:Content>

